{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "vscode": {
     "languageId": "plaintext"
    }
   },
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "\n",
    "# 定义斜率\n",
    "slope = 0.9  # 你可以根据需要修改这个斜率值\n",
    "\n",
    "# 生成x值\n",
    "x_values = np.arange(0, 10, 0.1)  # 从0到10，步长为0.1\n",
    "\n",
    "# 根据斜率计算y值\n",
    "y_values = slope * x_values\n",
    "\n",
    "# 将x和y值组合成一个二维数组\n",
    "line_points = np.column_stack((x_values, y_values))\n",
    "\n",
    "print(line_points)"
   ]
  }
 ],
 "metadata": {
  "language_info": {
   "name": "python"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
